@use "./_mixin.scss" as _mixin;
// e-flex布局
.e-flex {
	@include _mixin.flex;
	align-items: center;
}

.e-felx-row,
.e-flex-x {
	@include _mixin.flex;
}

.e-flex-y,
.e-flex-column {
	@include _mixin.flex(column);
}

.e-flex-x-center {
	@include _mixin.flex;
	justify-content: center;
}

.e-flex-xy-center {
	@include _mixin.flex;
	justify-content: center;
	align-items: center;
}

.e-flex-y-center {
	@include _mixin.flex;
	align-items: center;
}

.e-flex-x-left {
	@include _mixin.flex;
}

.e-flex-x-reverse,
.e-flex-row-reverse {
	flex-direction: row-reverse;
}

.e-flex-y-reverse,
.e-flex-column-reverse {
	flex-direction: column-reverse;
}

.e-flex.e-flex-reverse,
.e-flex-row.e-flex-reverse,
.e-flex-x.e-flex-reverse {
	flex-direction: row-reverse;
}

.e-flex-column.e-flex-reverse,
.e-flex-y.e-flex-reverse {
	flex-direction: column-reverse;
}


// 换行
.e-flex-wrap {
	flex-wrap: wrap;
}

// 反向换行
.e-flex-wrap-reverse {
	flex-wrap: wrap-reverse;
}

// 主轴起点对齐
.e-flex-start {
	justify-content: flex-start;
}

// 主轴中间对齐
.e-flex-center {
	justify-content: center;
}

// 主轴终点对齐
.e-flex-end {
	justify-content: flex-end;
}

// 主轴等比间距
.e-flex-between {
	justify-content: space-between;
}

// 主轴均分间距
.e-flex-around {
	justify-content: space-around;
}

// 交叉轴起点对齐
.e-flex-items-start {
	align-items: flex-start;
}

// 交叉轴中间对齐
.e-flex-items-center {
	align-items: center;
}

// 交叉轴终点对齐
.e-flex-items-end {
	align-items: flex-end;
}
/*  #ifndef  APP-NVUE  */


// 交叉轴第一行文字基线对齐
.e-flex-items-baseline {
	align-items: baseline;
}

// 交叉轴方向拉伸对齐
.e-flex-items-stretch {
	align-items: stretch;
}

// 以下属于项目(子元素)的类

// 子元素交叉轴起点对齐
.e-flex-self-start {
	align-self: flex-start;
}

// 子元素交叉轴居中对齐
.e-flex-self-center {
	align-self: center;
}

// 子元素交叉轴终点对齐
.e-flex-self-end {
	align-self: flex-end;
}

// 子元素交叉轴第一行文字基线对齐
.e-flex-self-baseline {
	align-self: baseline;
}

// 子元素交叉轴方向拉伸对齐
.e-flex-self-stretch {
	align-self: stretch;
}

// 多轴交叉时的对齐方式

// 起点对齐
.e-flex-content-start {
	align-content: flex-start;
}

// 居中对齐
.e-flex-content-center {
	align-content: center;
}

// 终点对齐
.e-flex-content-end {
	align-content: flex-end;
}

// 两端对齐
.e-flex-content-between {
	align-content: space-between;
}





// 均分间距
.e-flex-content-around {
	align-content: space-around;
}

// 全部居中对齐
.e-flex-middle {
	justify-content: center;
	align-items: center;
	align-self: center;
	align-content: center;
}
// 是否可以放大
.e-flex-grow {
	flex-grow: 1;
}

// 是否可以缩小
.e-flex-shrink {
	flex-shrink: 1;
}
// 自动伸缩
.e-flex-fill {
	flex: 1 1 auto;
}
// 铺满剩余宽度
.e-flex-1 {
	flex: 1;
}
// 占据1/2宽度
.e-flex-2 {
	flex: 0 0 50%;
}
// 占据1/3宽度
.e-flex-3 {
	flex: 0 0 33.333%;
}
// 占据1/4宽度
.e-flex-4 {
	flex: 0 0 25%;
}
// 占据1/5宽度
.e-flex-5 {
	flex: 0 0 20% !important;
}
// 边界自动伸缩
.e-margin-top-auto,
.e-m-t-auto {
	margin-top: auto !important;
}

.e-margin-right-auto,
.e-m-r-auto {
	margin-right: auto !important;
}

.e-margin-bottom-auto,
.e-m-b-auto {
	margin-bottom: auto !important;
}

.e-margin-left-auto,
.e-m-l-auto {
	margin-left: auto !important;
}

.e-margin-center-auto,
.e-m-c-auto {
	margin-left: auto !important;
	margin-right: auto !important;
}

.e-margin-middle-auto,
.e-m-m-auto {
	margin-top: auto !important;
	margin-bottom: auto !important;
}
/*  #endif  */


